package com.xlf.service.base.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@Builder
public class JudgeInfo implements Serializable {

        //总提交
        Integer submitNum;

        //通过 0
        Integer acNum;

        //失败 -1
        Integer waNum;

        //超时 1
        Integer tieNum;

        //内存超限 2
        Integer mleNum;

        //运行错误 3
        Integer reNum;

        //编译失败 -2
        Integer ceNum;

        public JudgeInfo(){
                this.submitNum = 0;
                this.acNum = 0;
                this.waNum = 0;
                this.tieNum = 0;
                this.ceNum = 0;
                this.mleNum = 0;
                this.reNum = 0;
        }

    }
